package cn.javaee.springmvc.model;

public class Address {
	private int addressid;	
	private String username;
	private String national;
	private String province;
	private String city;
	private String street;
	private String zipcode;
	public Address( String username, String national, String province, String city, String street,
			String zipcode) {
		this.username = username;
		this.national = national;
		this.province = province;
		this.city = city;
		this.street = street;
		this.zipcode = zipcode;
	}
	public Address(){
		
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNational() {
		return national;
	}
	public void setNational(String national) {
		this.national = national;
	}
	public String getProvince() {
		return province;
	}
	public int getAddressid() {
		return addressid;
	}
	public void setAddressid(int addressid) {
		this.addressid = addressid;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getZipcode() {
		return zipcode;
	}
	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}
	@Override
	public String toString() {
		return "Address [addressid=" + addressid + ", national=" + national + ", province=" + province + ", city="
				+ city + ", street=" + street + ", zipcode=" + zipcode + "]";
	}
	
}
